/**
 * Created by hxpeng on 2017/3/24.
 */

(function () {
    'use strict';

    angular.module('App.pages.class')
        .service('ClassModel', ClassModel);

    function ClassModel(API,$resource) {

        this.actions = {}
        this.actions.findClassByName = {
            method: 'POST',
            url: API + '/class/findClassByName'
        }
        return $resource.call(this, this.actions)
    }

})();